import React, { useState } from 'react'
import { Form, Input, Radio, Select, Spin, Transfer } from 'antd';

export default function Step2({ dataSource, targetKeys, onChange, titles = ['全部角色', '已选角色'] }) {
  return (
    <section>
      <div style={{ marginBottom: '10px' }}>辅营产品子平台</div>
      <Transfer
        dataSource={dataSource}
        titles={titles}
        targetKeys={targetKeys}
        // selectedKeys={selectedKeys}
        onChange={onChange}
        // onSelectChange={transferSelectChange}
        render={item => item.name}
        disabled={false}
      />
    </section>
  )
}
